import request from '@/utils/request'

export default {
    list(data) {
	  return request({
	    url: "/WebPage/pageList" ,
	    method: 'post',
		data
	  })
	},
	Modulelist(projectId,pageName) {
	  return request({
	    url: `/api/WebPageModules/${projectId}/webPage/${pageName}` ,
	    method: 'get'
	  })
	},
	ModuleUpdate(data){
		return request({
		  url: '/api/WebModule/ModuleUpdate',
		  method: 'post',
		  data
		})
	}
}

